﻿@model IEnumerable<asMeishi.web.Models.shop>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th></th>
        <th>
            name
        </th>
        <th>
            nameEN
        </th>
        <th>
            size
        </th>
        <th>
            addressStr
        </th>
        <th>
            classMain
        </th>
        <th>
            web
        </th>
        <th>
            intro
        </th>
        <th>
            quality
        </th>
        <th>
            service
        </th>
        <th>
            priceQuality
        </th>
        <th>
            cost
        </th>
        <th>
            size
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink("Edit", "Edit", new {  id=item.Id }) |
            @Html.ActionLink("Detail", "Detail", new { id = item.Id }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
        </td>
        <td>
            @item.name
        </td>
        <td>
            @item.nameEN
        </td>
        <td>
            @item.addressStr
        </td>
        <td>
@*            @item.classMain*@
        </td>
        <td>
            @item.web
        </td>
        <td>
            @item.intro
        </td>
        <td>
            @item.quality
        </td>
        <td>
            @item.service
        </td>
        <td>
            @item.priceQuality
        </td>
        <td>
            @item.cost
        </td>
        <td>
            @item.size
        </td>
    </tr>
}

</table>

